package com.intelligent.system.auth.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

@Data
@ApiModel("菜单显示状态修改参数")
public class MenuVisibleDTO {
    @ApiModelProperty("菜单ID")
    @NotNull(message = "菜单ID不能为空")
    private Long menuId;

    @ApiModelProperty("显示状态(0:显示,1:隐藏)")
    @NotNull(message = "显示状态不能为空")
    private String visible;
} 